package com.zito.health.mapper;

import com.zito.health.common.service.impl.BaseServiceImpl;
import com.zito.health.dto.ItemExpertDeclareDto;
import com.zito.health.entity.ItemExpertDeclare;
import com.zito.health.entity.ItemResearcher;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * Created by Administrator on 2019/11/11.
 */
public interface ItemExpertDeclareMapper extends Mapper<ItemExpertDeclare>  {

    int queryMinExpert();

    List<ItemExpertDeclareDto> queryList(ItemExpertDeclare item);

    Integer queryLisyByItemIdAndStates(ItemExpertDeclare itemExpertDeclare);

    void updateByItemIdAndExpertId(ItemExpertDeclare itemExpertDeclares);

    // 根据科研id删除专家评审
    void deletByItemid(Integer id);
}
